import request from '../request'

// 教育经历相关接口
// 查询教育经历列表
export const getEducationExperienceList = () => {
	return request.get('/business/resumeEducationExperience/list')
}

// 获取教育经历详细信息
export const getEducationExperienceDetail = (id) => {
	return request.get(`/business/resumeEducationExperience/${id}`)
}

// 新增教育经历
export const addEducationExperience = (params) => {
	return request.post('/business/resumeEducationExperience', params)
}

// 修改教育经历
export const updateEducationExperience = (params) => {
	return request.put('/business/resumeEducationExperience', params)
}

// 删除教育经历
export const deleteEducationExperience = (ids) => {
	return request.delete(`/business/resumeEducationExperience/${ids}`)
}

// 根据教育经历专业生成学习情况
export const generateEducationDescription = (params) => {
	return request.get(`/business/resumeEducationExperience/generateOne`,params)
} 